/** 系统菜单类型 */
export interface MenuResp {
  id: string
  title: string
  parentId: string
  type: 1 | 2 | 3
  path: string
  name: string
  component: string
  redirect: string
  icon: string
  iconSize: number
  isExternal: boolean
  isCache: boolean
  isHidden: boolean
  permission: string
  sort: number
  status: 0 | 1
  createUserString: string
  createTime: string
  updateUserString: string
  updateTime: string
  children: MenuResp[]
}

export interface MenuQuery {
  title?: string
  status?: number
  isSimpleTree?: boolean
}

export interface MenuForm {
  type: 1 | 2 | 3
  name: string
  icon: string
  iconSize: number
  title: string
  sort: number
  status: 1 | 0
  path: string
  component: string
  keepAlive: boolean
  hidden: boolean
  parentId: string
  redirect: string
  breadcrumb: boolean
  showInTabs: boolean
  alwaysShow: boolean
  permission: string
  isExternal: boolean
  isCache: boolean
  isHidden: boolean
}
